package exp2;
public class Novel_5{
	public static void main(String[] args){
		char ch='m';
		Boolean judge;
		judge = 65<=ch&&ch<=90?true:false;
		if(judge==true)
			System.out.println(ch + "是大写字母");
		else
			System.out.println(ch + "是小写字母");
		ch=(char)(ch^32);
		System.out.println("转换后为" + ch);

	}
}




/*if(65<=ch&&ch<=90)
		{
			System.out.println(ch + "是大写字母.");
			t=ch^32;
			System.out.println("转换后为" + (char)t);
		}
		if(97<=ch&&ch<=122)
		{
			System.out.println(ch + "是小写字母.");
			t=ch^32;
			System.out.println("转换后为" + (char)t);
		}*/